package com.atguigu.gulimall.cart;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @Description :购物车
 * 1、如果没有登录，需要生成一个临时用户，保存购物车的临时数据，并设置过期时间 user-key
 * @Author : mayp
 * @Date: 2020-11-26 22:58
 */
@EnableFeignClients // 开启远程调用
@EnableDiscoveryClient // 注册到nacos
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class GulimallCartApplication {
    public static void main(String[] args) {
        SpringApplication.run(GulimallCartApplication.class, args);
    }
}